package com.szboanda.mpgz.service.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *
 * </p>
 *
 * @auther 大雄
 * @create 2024-10-11 14:09:35
 */
@Mapper
public interface MpgzDao {

    @Select("select * from t_admin_rms_yh_wx")
    public List<Map<String, Object>> listAll();

    @Update("update t_admin_rms_yh_wx set PHONEDATACIPHER = #{dataCipher},PHONEKEYCIPHER = #{keyCipher} where OPENID = #{openid}")
    void updataUserBySession_key(@Param("openid") String openid, @Param("dataCipher") String dataCipher, @Param("keyCipher") String keyCipher);
}
